package com.example.maoyanmovie.model;

import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
import java.util.List;

public class Movie implements Serializable {
    @SerializedName("id")
    private int id;

    @SerializedName("nm")
    private String name;

    @SerializedName("img")
    private String imageUrl;

    @SerializedName("sc")
    private double score;

    @SerializedName("star")
    private String star;

    @SerializedName("rt")
    private String releaseTime;

    @SerializedName("showInfo")
    private String showInfo;

    @SerializedName("wish")
    private int wish;

    @SerializedName("version")
    private String version;

    @SerializedName("preShow")
    private boolean preShow;

    @SerializedName("globalReleased")
    private boolean globalReleased;

    @SerializedName("showst")
    private int showStatus;

    @SerializedName("comingTitle")
    private String comingTitle;

    @SerializedName("showStateButton")
    private ShowStateButton showStateButton;

    // Getters and Setters
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public String getStar() {
        return star;
    }

    public void setStar(String star) {
        this.star = star;
    }

    public String getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(String releaseTime) {
        this.releaseTime = releaseTime;
    }

    public String getShowInfo() {
        return showInfo;
    }

    public void setShowInfo(String showInfo) {
        this.showInfo = showInfo;
    }

    public int getWish() {
        return wish;
    }

    public void setWish(int wish) {
        this.wish = wish;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public boolean isPreShow() {
        return preShow;
    }

    public void setPreShow(boolean preShow) {
        this.preShow = preShow;
    }

    public boolean isGlobalReleased() {
        return globalReleased;
    }

    public void setGlobalReleased(boolean globalReleased) {
        this.globalReleased = globalReleased;
    }

    public int getShowStatus() {
        return showStatus;
    }

    public void setShowStatus(int showStatus) {
        this.showStatus = showStatus;
    }

    public String getComingTitle() {
        return comingTitle;
    }

    public void setComingTitle(String comingTitle) {
        this.comingTitle = comingTitle;
    }

    public ShowStateButton getShowStateButton() {
        return showStateButton;
    }

    public void setShowStateButton(ShowStateButton showStateButton) {
        this.showStateButton = showStateButton;
    }

    public static class ShowStateButton implements Serializable {
        @SerializedName("color")
        private String color;

        @SerializedName("content")
        private String content;

        @SerializedName("contentImg")
        private String contentImg;

        @SerializedName("onlyPreShow")
        private boolean onlyPreShow;

        @SerializedName("shadowColor")
        private String shadowColor;

        public String getColor() {
            return color;
        }

        public void setColor(String color) {
            this.color = color;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getContentImg() {
            return contentImg;
        }

        public void setContentImg(String contentImg) {
            this.contentImg = contentImg;
        }

        public boolean isOnlyPreShow() {
            return onlyPreShow;
        }

        public void setOnlyPreShow(boolean onlyPreShow) {
            this.onlyPreShow = onlyPreShow;
        }

        public String getShadowColor() {
            return shadowColor;
        }

        public void setShadowColor(String shadowColor) {
            this.shadowColor = shadowColor;
        }
    }
}
